<div ng-controller="StoreCtrl" ng-init="addressAction()" class="sui-form form-horizontal">
    <form name="addressForm" novalidate ng-submit="addressAdd()">
        <ul class="sui-breadcrumb">
            <li><a href="#/store/list">{{'store'|translate}}</a></li>
            <li>附近地址
            </li>
        </ul>
        <div>
            <div class="control-group">
                <label class="control-label v-top" style="width: 150px;"><b style="color: #f00;">*</b> {{'经营资质主体' | translate}}:</label>
                <div class="controls">
                    <input type="text" name="related_name" ng-model="address.related_name" class="
                input-xlarge">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label v-top" style="width: 150px;"><b style="color: #f00;">*</b> {{'经营资质证件号' | translate}}:</label>
                <div class="controls">
                    <input type="text" name="related_credential" ng-model="address.related_credential" class="input-xlarge">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label v-top" style="width: 150px;"><b style="color: #f00;">*</b> {{'经营资质地址' | translate}}:</label>
                <div class="controls">
                    <input type="text" name="related_address" ng-model="address.related_address" class="input-xlarge">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label v-top" style="width: 150px;"><b style="color: #f00;">*</b> {{'相关证明材料' | translate}}:</label>
                <div class="controls">
                    <div>
                        <wxattachmentlist ng-model="img" wxappid="wxappid" mediaid="address.related_proof_material"></wxattachmentlist>
                    </div>
                    <div>
                        <wx-attachment owner-id="attachs" dhf-ng-model="address.related_proof_material" xtype="mid" mult="false" title="Upload" use-type="png,jpeg,gif,jpg,JPG,PNG,JPEG,GIF" wxappid="wxappid" xclass="sui-btn btn-small btn-success" setback="getlist(attach)"></wx-attachment>
                    </div>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" style="width: 150px;"></label>
            <div class="controls">
                <button type="submit" id="submit" class="sui-btn btn-primary" ng-disabled="!addressForm.$valid">
                    <span>{{'save'|translate}}</span>
                </button>
            </div>
        </div>
    </form>
</div>